const Home = () => import('@/views/root/index') // 主页
const collection = () => import('@/views/me/collection/index') // 我的收藏
const follow = () => import('@/views/me/follow/index') // 我的关注
const followMy = () => import('@/views/me/followMy/index') // 关注我的
const editData = () => import('@/views/me/editData/index') // 编辑资料
const changePassword = () => import('@/views/me/changePassword/index') // 修改密码
const about = () => import('@/views/me/about/index') // 关于

export default {
  path: '/setting',
  meta: { title: '设置' },
  menu: true,
  component: Home,
  children: [
    {
      path: '/collection',
      component: collection,
      menu: true,
      meta: { title: '我的收藏' }
    },
    {
      path: '/follow',
      component: follow,
      menu: true,
      meta: { title: '我的关注' }
    },
    {
      path: '/followMy',
      component: followMy,
      menu: true,
      meta: { title: '关注我的' }
    },
    {
      path: '/editData',
      component: editData,
      menu: true,
      meta: { title: '编辑资料' }
    },
    {
      path: '/changePassword',
      component: changePassword,
      menu: true,
      meta: { title: '修改密码' }
    },
    {
      path: '/about',
      component: about,
      menu: true,
      meta: { title: '关于' }
    }
  ]
}
